package com.andnnl.shuffle;

        import java.util.Arrays;
        import java.util.Collections;
        import java.util.List;

/**
 * Created by chenss on 2021/5/31.
 */
public class ListShuffleTest {
    public static void main(String[] args) {
        //打乱排序
        List<String> list = Arrays.asList("0", "1", "2", "3", "4", "5", "6", "7", "8", "9");
        Collections.shuffle(list);
        System.out.println(list);
        Collections.shuffle(list);
        System.out.println(list);

        Boolean a=Boolean.FALSE;
        System.out.println(a.equals(false));
        System.out.println(a==false);
        String str="lkjsdf|sdf|sdf";
        System.out.println(Arrays.toString(str.split("|")));

    }
}
